From 924ff4dd59e06a1c184f4684c3c1cb26701d3c3f Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 30 Nov 2006 03:18:04 +0000 Subject: [PATCH] Tweak error prose for malformed magellanx routes. --- magproto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/magproto.c b/magproto.c index df67ee403..ba41189cf 100644 --- a/magproto.c +++ b/magproto.c @@ -972,10 +972,10 @@ mag_rteparse(char *rtemsg) char *ca, *ce; ca = rtemsg + n; - is_fatal(*ca++ != ',', MYNAME ": Wrong formated line!"); + is_fatal(*ca++ != ',', MYNAME ": Incorrectly formatted route line '%s'", rtemsg); ce = strchr(ca, ','); - is_fatal(ce == NULL, MYNAME ": Wrong formated line!"); + is_fatal(ce == NULL, MYNAME ": Incorrectly formatted route line '%s'", rtemsg); if (ca == ce) xasprintf(&rte_name, "Route%d", rtenum); -- 2.30.2